//
//  MyAdvisoryOrderFinishEntranceCell.swift
//  EyeVisionForPatients
//
//  Created by qdsg on 2020/4/11.
//  Copyright © 2020 QDSG. All rights reserved.
//

import UIKit

class SECommentCell: UITableViewCell {
    
    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }
    
    func updateData(score: Float, isComment: Bool) {
        starRatingView.isHidden = !isComment
        starRatingView.currentStarCount = score
        arrowRight.isHidden = isComment
        memoLabel.isHidden = isComment
    }

    @IBOutlet weak var titleLabel: UILabel!
    @IBOutlet weak var starRatingView: StarRatingView!
    @IBOutlet weak var arrowRight: UIImageView!
    @IBOutlet weak var memoLabel: UILabel!

    
    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
}
